import { ISUSERREGISTER, DOREGISTERSAGA, GETCAPTCHASAGA, DOREGISTERVALUE } from '../constants'

// 打开新用户注册
export const DoRegister = (obj) => ({
    type: ISUSERREGISTER,
    data: obj
})

// 新用户提交了注册信息
export const DoRegisterSaga = (obj) => ({
    type: DOREGISTERSAGA,
    data: obj
})

// 用户获取验证码
export const GetCaptchaSaga = (obj) => ({
    type: GETCAPTCHASAGA,
    data: obj
})

// 用户提交注册后的对新用户的数据操作
export const DoRegisterValue = (obj) => ({
    type: DOREGISTERVALUE,
    data: obj
})